var Mock = require('mockjs');

exports.response = function(req, res) {
  return Mock.mock({
    "decimals": {
        "pnl_efficiency": 4,
        "potential_risk": 4,
        "position_efficiency": 4
    },
    "style_pivots": {
        "avg_duration": [
            3600,
            86400,
            604800
        ],
        "avg_daily_volume": [
            100000,
            1000000,
            5000000,
            50000000
        ]
    },
    "profitability_pivots": {
        "profitability": [
            20,
            40,
            60,
            70
        ],
        "position_efficiency": [
            0.2,
            0.3,
            0.4
        ],
        "eff_sharpe_ratio": [
            0.5,
            0.7
        ],
        "pnl_efficiency": [
            0,
            100,
            250,
            500
        ],
        "avg_daily_pnl": [
            100000000000
        ],
        "all_time_pnl": [
            100000000000
        ]
    },
    "risk_control_pivots": {
        "risk_control": [
            30,
            40,
            60,
            70
        ],
        "potential_risk": [
            -0.004,
            -0.0035,
            -0.003
        ],
        "risk_over_pnl": [
            -5,
            -2,
            -1
        ],
        "score_std_neg_eff": [
            30,
            60,
            70
        ]
    },
    "comment_text": {
        "avg_duration": {
            "avg_duration_0": [
                "- 你属于日内波动型交易员(超短线)，**平均持仓时间**为 **_$_**秒；"
            ],
            "avg_duration_1": [
                "- 你属于日内波动型交易员(短线)，**平均持仓时间**为 **_$_**秒；"
            ],
            "avg_duration_2": [
                "- 你属于日间趋势型交易员(短线)，**平均持仓时间**为 **_$_**秒；"
            ],
            "avg_duration_3": [
                "- 你属于趋势型交易员(中长线)，**平均持仓时间**为 **_$_**秒；"
            ]
        },
        "avg_daily_volume": {
            "avg_daily_volume_0": [
                "- 操盘资金量小, **日均交易资金量**为 **_$_**, 资金量属于新手交易员级别"
            ],
            "avg_daily_volume_1": [
                "- 操盘资金量中等, **日均交易资金量**为 **_$_**, 资金量属于初级交易员级别"
            ],
            "avg_daily_volume_2": [
                "- 操盘资金量较大, **日均交易资金量**为 **_$_**, 资金量属于高级交易员级别"
            ],
            "avg_daily_volume_3": [
                "- 操盘资金很大, **日均交易资金量**为 **_$_**, 资金量属于优秀交易员级别"
            ],
            "avg_daily_volume_4": [
                "- 操盘资金巨大, **日均交易资金量**为 **_$_**, 可能属于团队共用对冲账号"
            ]
        },
        "profitability": {
            "profitability_0": [
                "- 你的**盈利分数**为 **_$_**, 盈利能力弱"
            ],
            "profitability_1": [
                "- 你的**盈利分数**为 **_$_**, 盈利能力有待提高"
            ],
            "profitability_2": [
                "- 你的**盈利分数**为 **_$_**, 盈利能力表现一般"
            ],
            "profitability_3": [
                "- 你的**盈利分数**为 **_$_**, 盈利能力表现较好"
            ],
            "profitability_4": [
                "- 你的**盈利分数**为 **_$_**, 盈利能力表现优秀"
            ]
        },
        "position_efficiency": {
            "position_efficiency_0": [
                "- **仓位效率**低, 为 **_$_**, 对行情把控能力较差"
            ],
            "position_efficiency_1": [
                "- **仓位效率**一般, 为 **_$_**, 对行情把控能力一般"
            ],
            "position_efficiency_2": [
                "- **仓位效率**还不错, 为 **_$_**, 对行情把控能力较好"
            ],
            "position_efficiency_3": [
                "- **仓位效率**优秀, 为 **_$_**, 对行情把控能力很好"
            ]
        },
        "eff_sharpe_ratio": {
            "eff_sharpe_ratio_0": [
                "- **盈利效率夏普比率**为 **_$_**"
            ],
            "eff_sharpe_ratio_1": [
                "- **盈利效率夏普比率**较高, 为 **_$_**"
            ],
            "eff_sharpe_ratio_2": [
                "- **盈利效率夏普比率**高, 为 **_$_**"
            ]
        },
        "pnl_efficiency": {
            "pnl_efficiency_0": [
                "- **盈利效率**很差, 为 **_$_**"
            ],
            "pnl_efficiency_1": [
                "- **盈利效率**优秀, 为 **_$_**"
            ],
            "pnl_efficiency_2": [
                "- **盈利效率**较好, 为 **_$_**"
            ],
            "pnl_efficiency_3": [
                "- **盈利效率**一般, 为 **_$_**"
            ]
        },
        "avg_daily_pnl": {
            "avg_daily_pnl_0": [
                "- **日均盈利额**为 **_$_**"
            ]
        },
        "all_time_pnl": {
            "all_time_pnl_0": [
                "- **总盈利额**为 **_$_**"
            ]
        },
        "risk_control": {
            "risk_control_0": [
                "- 你的**风控能力弱**, 为 **_$_**"
            ],
            "risk_control_1": [
                "- 你的**风控分数**为 **_$_**, 需要提高"
            ],
            "risk_control_2": [
                "- 你的**风控分数**一般, 为 **_$_**"
            ],
            "risk_control_3": [
                "- 你的**风控分数**不错, 为 **_$_**"
            ],
            "risk_control_4": [
                "- 你的**风控分数**为 **_$_**, 风控能力成熟"
            ]
        },
        "potential_risk": {
            "potential_risk_0": [
                "- **潜在风险**低, 为 **_$_**"
            ],
            "potential_risk_1": [
                "- **潜在风险**较低, **_$_**"
            ],
            "potential_risk_2": [
                "- **潜在风险**较高, 为 **_$_**, 可能需要注意下仓位"
            ],
            "potential_risk_3": [
                "- **潜在风险**高, 为 **_$_**, 可能需要注意下仓位，不要过多地进行左手交易"
            ]
        },
        "risk_over_pnl": {
            "risk_over_pnl_0": [
                "- **风险收益比**小, 为 **_$_**"
            ],
            "risk_over_pnl_1": [
                "- **风险收益比**较小, **_$_**"
            ],
            "risk_over_pnl_2": [
                "- **风险收益比**较大, 为 **_$_**"
            ],
            "risk_over_pnl_3": [
                "- **风险收益比**大, 为 **_$_**"
            ]
        },
        "score_std_neg_eff": {
            "score_std_neg_eff_0": [
                "- **负盈利效率Std分数**小, 为 **_$_**"
            ],
            "score_std_neg_eff_1": [
                "- **负盈利效率Std分数**较小, **_$_**"
            ],
            "score_std_neg_eff_2": [
                "- **负盈利效率Std分数**大, 为 **_$_**"
            ]
        },
        "style_start": [
            "### 操作风格"
        ],
        "profitability_start": [
            "### 盈利方面"
        ],
        "risk_control_start": [
            "### 风控方面"
        ],
        "order_highlights": {
            "best_order": [
                ""
            ],
            "worst_order": [
                ""
            ]
        }
    },
    "sorted_styles": [
        "avg_duration",
        "avg_daily_volume"
    ],
    "sorted_profitability": [
        "profitability",
        "position_efficiency",
        "eff_sharpe_ratio",
        "pnl_efficiency",
        "avg_daily_pnl",
        "all_time_pnl"
    ],
    "sorted_risk_control": [
        "risk_control",
        "potential_risk",
        "risk_over_pnl",
        "score_std_neg_eff"
    ]
})
}
